home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 June: Reference Library / Dev.CD Jun 00 RL Disk 1.toast / mac / Technical Documentation / Develop / develop Issue 21 / develop Issue 21 code / Dylan Listings.sea / Dylan Listings / module-definitions.dyl / module-definitions.dyl
Encoding:
Text File  |  1995-01-16  |  555 b   |  20 lines  |  [TEXT/ttxt]

  1. module:    dylan-user
  2. language:  infix-dylan
  3. author:    Steve Strassmann, straz@apple.com
  4. copyright: This code is in the public domain
  5. version:   1.0b1 20-Nov-94
  6. comment:   code to accompany an article in Develop magazine, Feb-95
  7. title:     module definitions
  8.  
  9. define module studio
  10.     use dylan;
  11.     export <project>, <actor>, <script>, name, name-setter, profits;
  12. end module;
  13.  
  14. define module hollywood 
  15.     use dylan;
  16.     use studio, 
  17.         export: {name, profits};
  18. //        rename: {<project> => <production>};
  19.     export <movie>, <tv-show>, <videogame>, do-oscars;
  20. end module;